package com.chhuang.huaao.mapper;


import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.chhuang.core.mapper.IBaseMapper;
import com.chhuang.huaao.po.HaMachine;
import com.chhuang.huaao.po.HaMachineExample;

/**
* HaMachine Mapper
* @author ChHuang
* @date Sun Apr 16 08:43:49 CST 2017
*/
public interface HaMachineMapper extends IBaseMapper<HaMachine> {

	int countByExample(HaMachineExample example) throws Exception;

	int deleteByExample(HaMachineExample example) throws Exception;

	List<HaMachine> selectByExample(HaMachineExample example) throws Exception;

	int updateByExampleSelective(@Param("record") HaMachine record, @Param("example") HaMachineExample example) throws Exception;

	int updateByExample(@Param("record") HaMachine record, @Param("example") HaMachineExample example) throws Exception;
	
	/**
	 * 清空设备表中的指定客户编号
	 * @param customerId
	 */
	void updateNullMachineCustomerId(String customerId) throws Exception;
	/**
	 * 清空设备表中的指定客户编号
	 * @param customerId
	 */
	void updateNullMachineCustomerId1(String customerId) throws Exception;
	/**
	 * 清空设备表中的指定客户编号
	 * @param customerId
	 */
	void updateNullMachineCustomerId2(String customerId) throws Exception;
	/**
	 * 清空设备表中的指定客户编号
	 * @param customerId
	 */
	void updateNullMachineCustomerId3(String customerId) throws Exception;

}